<!-- <nz-upload [(nzFileList)]="fileList" [nzBeforeUpload]="beforeUpload">
    <button nz-button>
      <i class="anticon anticon-upload"></i><span>Select File</span>
    </button>
  </nz-upload>
  <button nz-button [nzType]="'primary'" [nzLoading]="uploading" (click)="handleUpload(item.id)" [disabled]="fileList.length == 0" style="margin-top: 16px">
    {{ uploading ? 'Uploading' : 'Start Upload' }}
  </button> -->

  <nz-form-item>
    <nz-form-label [nzSpan]="6" nzFor="drillsubject">选择文件</nz-form-label>
    <nz-form-control [nzSpan]="14">
        <nz-upload [(nzFileList)]="fileList" [nzBeforeUpload]="beforeUpload" [nzLimit]="1" nzShowUploadList=false>
            <button nz-button>
              <i class="anticon anticon-upload"  ></i><span *ngIf="hasReport" >更换演练报告</span>
                <span *ngIf="!hasReport" >选择演练报告</span>
            </button>
          </nz-upload>
          <span *ngIf="hasReport" style="color: red">（演练报告已上传，点击按钮更换演练报告）</span>
    </nz-form-control>
  </nz-form-item >

  <nz-form-item nz-row>
    <nz-form-control nz-col [nzSpan]="14" [nzOffset]="6">
        <button nz-button class="login-form-button" [nzType]="'primary'" [nzLoading]="uploading" (click)="handleUpload()" [disabled]="fileList.length == 0">保存</button>
        <button nz-button class="login-form-button" (click)="backpage()">取消</button>
    </nz-form-control>
  </nz-form-item>